/***********************************************************/
/*                                                         */
/*                  LockServRecognizer.h                   */ 
/*                                                         */ 
/***********************************************************/

#include <apmrec.h>

class CLockServRecognizer : public CApaDataRecognizerType
{
    public: // from CApaDataRecognizerType
        CLockServRecognizer();
        TUint PreferredBufSize();
        TDataType SupportedDataTypeL(TInt aIndex) const;

	public:   // function to start app
        static void StartThread();
        static TInt StartAppThreadFunction(TAny* aParam);
        static void StartAppThreadFunctionL();
		static TBool WaitForPhoneApplicationL();
		static void WaitNbMicroSeconds(TInt aNbSeconds);
		
    private: // from CApaDataRecognizerType
        void DoRecognizeL(const TDesC& aName, const TDesC8& aBuffer);
};
